﻿using System.Collections.Generic;
using MediaBrowserSL.BOL;

namespace MediaBrowserSL.IBLL
{
    public interface IAuthenticationManager
    {
        /// <summary>
        /// Exist User
        /// </summary>
        /// <returns></returns>
        User ExistUser(string Login);

        /// <summary>
        /// Create new User
        /// </summary>
        /// <param name="firstName"></param>
        /// <param name="lastName"></param>
        /// <param name="Login"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        int CreateUser(string firstName, string lastName, string Login, string password);

        /// <summary>
        /// Update Statut User
        /// </summary>
        /// <param name="u"></param>
        void UpdateStatut(User u);

        /// <summary>
        /// Exist Login
        /// </summary>
        /// <param name="Login"></param>
        /// <returns></returns>
        bool ExistLogin(string Login);
    }
}
